import org.apache.shiro.crypto.hash.SimpleHash;


public class Test {
	public static void main(String[] args) {
		String passwd = new SimpleHash("SHA-1", "admin", "123456").toString(); // 密码加密
		System.out.println(passwd);
	}
}
